var result_8 = JSON.parse('{"CODE":0, "ACTION":"","LEVEL":"", "MSG":"","DATA":"","RULE":"8"}');

if (!isNull(NEW_RETAIL_EFF_DATE)) {
  if (betweenDay(EFF_DATE, new Date()) >= 1) {
    NEW_RETAIL_EFF_DATE = getNewDate(new Date());
    result_8.CODE = 3;
    result_8.ACTION = "UPDATE";
    result_8.MSG = "新零售生效日不能小于当天，自动改成当天";
    result_8.DATA = '{"NEW_RETAIL_EFF_DATE":"' + NEW_RETAIL_EFF_DATE + '"}';
  } 
} 
JSON.stringify(result_8);


